public class T07 {
  public static void main(String[] args) {
    Object o = new Object();
    int i = 0;
    
    synchronized (o) {
      i++;
      System.out.println(i);
    }
  }
}
